package org.gap.wizards.views;

import org.gap.wizards.Start;
import org.gap.wizards.world.TimerState;

public class StatusView implements View {

	private final TimerState timer;
	private final ViewPlatform console;
	
	public StatusView(TimerState timer, ViewPlatform console) {
		this.timer = timer;
		this.console = console;
	}
	
	@Override
	public void draw() {
		console.print(Start.SCREEN_WIDTH - 6, Start.SCREEN_HEIGHT - 1, "      ");
		console.print(Start.SCREEN_WIDTH - 6, Start.SCREEN_HEIGHT - 1, "T: " + timer.getTime());
	}
}
